package com.yiren.dbaa.view.interf;

import com.vividsolutions.jts.geom.LineString;
import com.yiren.backstage.currency.bean.GpsInfoBean;
import com.yiren.backstage.currency.bean.PointBean;
import com.yiren.backstage.currency.bean.PointExBean;

import java.util.List;

/**
 * Created by WANGRONGXIANG
 * on 2022/4/14
 * Describe 几何图形生成
 */
public interface IGeometryCreate {

    /**
     * 获取车身线和车轮线
     * @param carPoints
     * @return
     */
    LineString[] getCarLineString(List<PointBean> carPoints);

    /**
     * 实时更新车辆点位
     * @param carModelPoints
     * @return
     */
    void updateCarPoints(List<PointBean> carPoints, List<PointExBean> carModelPoints, PointBean currentPoint, GpsInfoBean gpsInfo);
}
